#-------------------------------------------------
#
# Project created by QtCreator 2016-11-28T10:36:45
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS

DEFINES +=QT_NO_PRINTER

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TRANSLATIONS += menuViewEnglishLan.ts

TARGET = HomeMenuView
TEMPLATE = lib

DEFINES += HOMEMENUVIEW_LIBRARY

SOURCES += homemenuview.cpp \
    manualservondialog.cpp \
    setzeropointdialog.cpp \
    passwordmodiydialog.cpp \
    touchcheckdialog.cpp \
    sourcePlot/qcustomplotzoom.cpp \
    sourcePlot/qcustomplot.cpp \
    motorstatusview.cpp \
    registrationdialog.cpp \
#    restoredialog.cpp \
#    filerestoredialog.cpp \
#    filebackupdialog.cpp \
    devicelogdialog.cpp \
    copyrightdialog.cpp \
    setcoordinatedialog.cpp \
    setcoordinate2dialog.cpp \
    companyinfodialog.cpp \
    ipsettingdialog.cpp \
    starttypedialog.cpp \
#    restorecheckdialog.cpp \
    passwordcheckdialog.cpp \
#    restoreandbackupdlg.cpp \
#    upgradehmiexedlg.cpp \
    ethercatdeviceconfigdlg.cpp \
    debuginformationdlg.cpp \
    coordinatehelpdialog.cpp

HEADERS += homemenuview.h\
        homemenuview_global.h \
    manualservondialog.h \
    setzeropointdialog.h \
    passwordmodiydialog.h \
    touchcheckdialog.h \
    includePlot/qcustomplotzoom.h \
    includePlot/qcustomplot.h \
    motorstatusview.h \
    registrationdialog.h \
#    restoredialog.h \
#    filerestoredialog.h \
#    filebackupdialog.h \
    devicelogdialog.h \
    copyrightdialog.h \
    setcoordinatedialog.h \
    setcoordinate2dialog.h \
    companyinfodialog.h \
    ipsettingdialog.h \
    starttypedialog.h \
#    restorecheckdialog.h \
    passwordcheckdialog.h \
#    restoreandbackupdlg.h \
#    upgradehmiexedlg.h \
    ethercatdeviceconfigdlg.h \
    debuginformationdlg.h \
    coordinatehelpdialog.h

FORMS += \
    homemenuview.ui \
    manualservondialog.ui \
    setzeropointdialog.ui \
    passwordmodiydialog.ui \
    touchcheckdialog.ui \
    motorstatusview.ui \
    registrationdialog.ui \
#    restoredialog.ui \
#    filerestoredialog.ui \
#    filebackupdialog.ui \
    devicelogdialog.ui \
    copyrightdialog.ui \
    setcoordinatedialog.ui \
    setcoordinate2dialog.ui \
    companyinfodialog.ui \
    ipsettingdialog.ui \
    starttypedialog.ui \
#    restorecheckdialog.ui \
    passwordcheckdialog.ui \
#    restoreandbackupdlg.ui \
#    upgradehmiexedlg.ui \
    ethercatdeviceconfigdlg.ui \
    debuginformationdlg.ui \
    coordinatehelpdialog.ui

INCLUDEPATH += ../PalletSettingView
INCLUDEPATH += ../WeldSettingView
INCLUDEPATH += ../CommunicateDelegate
INCLUDEPATH += ../FileGeneralManagement
INCLUDEPATH += ../ProgramSet
INCLUDEPATH += ../ProgramLanguageTranslate
INCLUDEPATH += ../../include/MacroDefine


INCLUDEPATH+=../CommunicateDelegate/

INCLUDEPATH+=../CommunicateDelegate/

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS

LIBS += -L../../lib/x86_WINDOWS -lVrepConfigView
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86
LIBS     += -L../../lib/x86 -lCommunicateDelegate
INCLUDEPATH += ../FileManage
LIBS += -L../../lib/x86 -lFileManage


#编译目录
UI_DIR += ../../build/tmphmi/x86_linux
MOC_DIR += ../../build/tmphmi/x86_linux
OBJECTS_DIR += ../../build/tmphmi/x86_linux
RCC_DIR  += ../../build/tmphmi/x86_linux
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm
LIBS     += -L../../lib/arm -lCommunicateDelegate

#编译目录
UI_DIR += ../../build/tmphmi_arm
MOC_DIR += ../../build/tmphmi_arm
OBJECTS_DIR += ../../build/tmphmi_arm
RCC_DIR  += ../../build/tmphmi_arm
}

RESOURCES += \
    companyinformation.qrc






